<script>
  let req = window.indexedDB.open('test')
  req.onerror = function (event) {
    const {ipcRenderer} = require('electron')
    ipcRenderer.send('indexed-db-response', event.target.error.message)
  }
</script>
